package com.zb.dao.impl;

import com.zb.dao.BaseDao;
import com.zb.dao.MrDao;
import com.zb.entity.Mr;

public class MrDaoImpl implements MrDao {
	private BaseDao db=new BaseDao();
	public void addMr(Mr m) {
		String sql="INSERT INTO mr VALUES(?,?,?,NOW(),null,?,null)";
		db.update(sql,m.getCar(),m.getFeatExp(),m.getMsi().getId(),m.getStore().getId());
		db.close();
		
	}
}
